<?php
	
class Default_Model_Yatzy_Xresult extends Default_Model_Yatzy_Result
{
	private $_firstName;
	private $_lastName;
	private $_email;
	
	public function getFirstName(){
		return $this->_firstName;
	}
	
	public function setFirstName($firstName){
		$this->_firstName = $firstName;
		return $this;
	}
	
	public function getLastName(){
		return $this->_lastName;
	}
	
	public function setLastName($lastName){
		$this->_lastName = $lastName;
		return $this;
	}
	
	public function getEmail(){
		return $this->_email;
	}
	
	public function setEmail($email){
		$this->_email = $email;
		return $this;
	}
	
	public function getMapper()
    {
        if (null === $this->_mapper) {
            $this->setMapper(new Default_Model_Yatzy_XresultMapper());
        }
        return $this->_mapper;
    }

	
	public function getTopTen()
	{
		return $this->getMapper()->getTopTen($this);
	}
	
	public function getTopPlayers()
	{
		return $this->getMapper()->getTopPlayers($this);
	}
	
	public function getAverage()
	{
		return $this->getMapper()->getAverage($this);
	}
	
	public function getGamesPlayed()
	{
		return $this->getMapper()->getGamesPlayed($this);
	}
	
}

?>